package com.own.business.wechat.mobile.exception;

import com.own.base.BaseResponseCode;
import com.own.business.wechat.mobile.em.WechatMobileExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * WechatMobileException
 *
 * @author chenxueli
 * @date 2021/3/3 15:29
 */
public class WechatMobileException extends BusinessException {

    public WechatMobileException() {
        super(WechatMobileExceptionEnum.DEFAULT);
    }

    public WechatMobileException(String message) {
        super(WechatMobileExceptionEnum.DEFAULT.code(), message);
    }

    public WechatMobileException(String code, String message) {
        super(code, message);
    }

    public WechatMobileException(BaseResponseCode responseCode) {
        super(responseCode);
    }
}
